<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<script type="text/javascript">
	/*for (var i =1; i< 200; i+=2) {
		document.write(i);
	};*/
	heig =2.2;
	sex = "00";

	/*单路
	if (heig<=1.8) {
		if (sex=="男") {
			alert("你适合踢足球");
		}
	}*/



	/*双路
	if (heig<=2) {
		if (sex=="男") {
			alert("你适合踢足球");
		}
	} else {
		alert("你适合打蓝球");
	}*/


	/*多路
	if (heig>=1.6 && heig<=2) {
		if (sex=="男") {
			alert("你适合踢足球");
		}
	} else if(heig>=2.1 && heig<=2.4) {
		if (sex=="女"){
			alert("你适合当模特")
		}
		alert("你适合打蓝球");
	} else{
		alert("你已经无敌了")
	}*/

	/*switch(sex){
		case "男":
		alert("你是男的")
		break;

		case "女":
		alert("你是女的")
		break;

		case "都不是":
		alert("你都不是")
		break;

		default:
		alert("ll")
		break;
	}*/

	

	/*for (var i = 1; i <= 100; i++) {
		document.write("<a>a链接</a>");
		document.write("<br>");
	};*/
/*
  document.write("<table border='1'>");
	for (var i = 0; i <= 10; i++) {
	document.write("<tr>");
		for (var j = 0; j <= 10; j++) {
			document.write("<td>i:"+i+"<b><b><b>"+"j:"+j+"</td>")	
			};
	document.write("<tr>");		
}
	document.write("</table>");*/
    
/*	document.write("<table border='1'>");
	for (var i = 1; i <= 9; i++) {
		document.write("<tr>")
		for (var j = 1; j <= 9; j++) {
			document.write("<td>"+i+"乘号"+j+"="+i*j+"</td>");
		}
		document.write("<tr>")
	};

	document.write("</table>");
*/

	document.write("<table border='1'>");
	for (var i = 9; i >= 1; i--) {
		document.write("<tr>")
		for (var j = 1; j<=i; j++) 
			if (j%2==1) {
			document.write("<td style='background-color:red' id='1'>"+j+"乘"+i+"="+i*j+"</td>");
		}else {
			if (i%2==1) {
				document.write("<td style='background-color:blue' id='1'>"+j+"乘"+i+"="+i*j+"</td>");
			}else{
			document.write("<td style='background-color:#D4DBED' id='1'>"+j+"乘"+i+"="+i*j+"</td>");
		}
		}
		document.write("<tr>");
	}

	document.write("</table>");



	</script>
	<style type="text/css">
		

	</style>
</head>
<body>
		
</body>
</html>